package com.itheima.reggie;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;

/**
 * Created by IntelliJ IDEA.
 * User: 许志民
 * Date: 2021-11-21
 */

@Slf4j
@SpringBootApplication(scanBasePackages = "com.itheima")
@ServletComponentScan("com.itheima.reggie.filter")
@EnableCaching  //开启缓存注解
public class ReggieAppilcation {
    public static void main(String[] args) {
        SpringApplication.run(ReggieAppilcation.class,args);
        log.info("start up ...🏃.🏃.🏃.🏃.🏃.🏃‍");
    }
}
